package cc.mrbird.febs.moive.dao;

import cc.mrbird.febs.moive.domain.DataAll;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface DataAllMapper extends BaseMapper<DataAll> {

    @Select("select t.data_date,t.box_office  from data_all t where movie_title=#{name} order by data_date")
    List<DataAll> getData(@Param("name") String name);
}
